home *** CD-ROM | disk | FTP | other *** search
/ CD Classic 39 / CD CLASSIC #39 (1998).iso / EMPRESA / act / ACETRIAL.EXE / INSTALL.INF < prev    next >
INI File  |  1997-07-03  |  25KB  |  938 lines

  1. ; ACT! for Windows CE, Version 1.0 - Installation Script
  2.  
  3. [WindowsVersion]
  4. 3.1
  5. "ACT! for Windows CE Trial Size requires Windows 95 or NT."
  6.  
  7. [InstallVersion]
  8. 4.2
  9.  
  10. [CompressionChars]
  11. LZW = "8"
  12. ZIP = "9"
  13.  
  14. [Process]
  15. EnableOverWrite()
  16. EnableUpperCase()
  17. AllowIntlChars()
  18. DisableHelp()
  19. SetNumberOfTargets( 20 )
  20.  
  21. Backup( bakCustomFiles )
  22.  
  23. ; 91 is whether this was paid for.
  24. ; 92 is whether it came directly from Symantec (or is OEM)
  25. switch91 = FALSE
  26. switch92 = TRUE
  27.  
  28. ; Ensure the custom DLLs were successfully copied (Quit gracefully if not)
  29. switch26 = Exists( xstSIW_CE_DLL )
  30. #ifnot ( switch26 )     ; Quit if not copied
  31.     MessageBox( msgMissingDLL )
  32.     Goto( ScriptEnd )
  33. #endif
  34.  
  35. switch26 = Exists( xstPATCH32_DLL )
  36. #ifnot ( switch26 )     ; Quit if not copied
  37.     MessageBox( msgMissingDLL )
  38.     Goto( ScriptEnd )
  39. #endif
  40.  
  41. switch26 = Exists( xstLOADINST_DLL )
  42. #ifnot ( switch26 )     ; Quit if not copied
  43.     MessageBox( msgMissingDLL )
  44.     Goto( ScriptEnd )
  45. #endif
  46.  
  47. switch40 = CallProcEx( CheckWin95 )
  48. switch41 = CallProcEx( CheckNT40 )
  49.  
  50. #ifnot ( switch40 )
  51.     #ifnot ( switch41 )
  52.     ; If neither Win95 or NT40, quit
  53.     MessageBox( msgWrongOS )
  54.     Goto( ScriptEnd )
  55.     #endif
  56. #endif
  57.  
  58. ; Check whether ACT! 3.0 is running. If running, message and close
  59. switch12 = CallProcEx( IsACT30Running )
  60. #if ( switch12 )
  61.     MessageBox( msgACT30WillBeClosed )
  62.     ; Close ACT! 3.0
  63.     CallProcEx( CloseACT30 )
  64. #endif
  65.  
  66. ; Ensure neither ACT! nor HPC Explorer running
  67. switch12 = CallProcEx( IsACT30Running )
  68. #if ( switch12 )
  69.     MessageBox( msgACT30Running )
  70.     Goto( ScriptEnd )
  71. #endif
  72. ;switch12 = CallProcEx( IsHPCRunning )
  73. ;#if ( switch12 )
  74. ;       MessageBox( msgHPCRunning )
  75. ;       Goto( ScriptEnd )
  76. ;#endif
  77.  
  78.  
  79. ; ********** The Welcome Panel **********
  80. WizardPanel( WelcomePanel, siw_ce.dll )
  81. WizardProcessPanel()
  82.  
  83. ; ********** The Online License Agreement Panel **********
  84. WizardPanel( LicensePanel, siw_ce.dll )
  85. WizardProcessPanel()
  86.  
  87. SetActiveCopy( ACTCE, install.inf )
  88.  
  89. switch20 = CallProcEx( LocatePegasus )
  90. #ifnot ( switch20 )
  91.     MessageBox( msgNoDevice )
  92.     Goto( ScriptEnd )
  93. #endif
  94.  
  95. switch21 = CallProcEx( LocateACT30 )
  96. #ifnot ( switch21 )
  97.     MessageBox( msgNoACT30 )
  98.     DeselectOption( ActCEFilter )
  99. #endif
  100.  
  101. ; Only check ACT! 3.0 version if it is installed.
  102. #if ( switch21 )
  103.     ; switch23 will be TRUE if upgrade required.
  104.     switch23 = CallProcEx( DetermineACTVersion )
  105.  
  106.     ; Unload ACTLDR now because of timing issues.
  107.     ; Ensure ACTLDR is not running.
  108.     switch90 = Exists( xstACTLDR )
  109.     ; Only attempt to unload if ACTLDR.EXE exists.
  110.     #if ( switch90 )
  111.         switch89 = CallProcEx( execACTLDRUnload )
  112.     #else   ; ACTLDR doesn't exist, so set to appear like it has unloaded.
  113.         switch89 = TRUE
  114.     #endif
  115. #endif
  116.  
  117. ; Detect whether ACT CE is already installed.
  118. switch25 = CallProcEx( IsACTCEInstalled )
  119.  
  120. #ifnot ( switch25 )     ; Set up TARGET11 if not installed
  121.     ; Setup the directories
  122.     ResetTarget( rstACTCEDirectory )
  123. #endif
  124.  
  125. ; Ensure no cheating
  126. #if ( switch21 )
  127.     switch24 = CallProcEx( EnsureRetail32 )
  128. #endif
  129.  
  130. #ifnot ( switch24 )     ; Trial Version detected
  131.     switch23 = FALSE
  132.     ; Now ensure there is a complete installation of ACT! 3.0
  133.     ; (Detection of Trial Size could be because ACTRES.DLL not found).
  134.     switch21 = Exists( xstACT_EXE )
  135. #endif
  136.  
  137. ; No upgrade if not paid for.
  138. #ifnot ( switch91 )
  139.     switch23 = FALSE
  140. #endif
  141.  
  142. ; ***** For Testing Only *****
  143. ;CallProcEx( TestingOnly )
  144.  
  145. ; ***** Upgrade Work *****
  146. #ifnot ( switch23 )     ; Upgrade NOT required
  147.     ; Deselect all the "copymain" groups
  148.     DeselectOption( AppSys )
  149.     DeselectOption( ActWPWord )
  150.     DeselectOption( ActFile )
  151.     DeselectOption( CServe )
  152.     DeselectOption( ActWPWP )
  153.     DeselectOption( ActWordProc )
  154.     DeselectOption( ccMail )
  155.     DeselectOption( LotusMail )
  156.     DeselectOption( MSExchange )
  157.     DeselectOption( Setup )
  158. #else                           ; Upgrade required
  159.     ; Set country switches - set a default
  160.     switch1 = FALSE         ; Australisa/Asia
  161.     switch2 = FALSE         ; Canada
  162.     switch3 = FALSE         ; Europe
  163.     switch4 = FALSE         ; Latin America
  164.     switch5 = FALSE         ; UK
  165.     switch6 = TRUE          ; United States
  166.  
  167.     ; *** Reset other targets
  168.     ResetTarget(rstSpell)
  169.     ResetTarget(rstReport)
  170.     ResetTarget( rstTemplate )
  171.  
  172.     ; *** Get the installed country version
  173.     switch95 = CallProcEx( GetCountryVersion )
  174.  
  175.     ; *** Check if the upgrade components are installed
  176.     switch80 = TRUE
  177.     switch95 = CallProcEx( IsActAppInstalled )
  178.     #ifnot ( switch95 )
  179.         DeselectOption( ActApp )
  180.         switch80 = FALSE
  181.     #endif
  182.  
  183.     switch95 = CallProcEx( IsWPWordMacroInstalled )
  184.     #ifnot ( switch95 )
  185.         DeselectOption( WPWordMacro )
  186.     #endif
  187.     switch95 = CallProcEx( IsReportInstalled )
  188.     #ifnot ( switch95 )
  189.         DeselectOption( Report )
  190.     #endif
  191.     switch95 = CallProcEx( IsLabelInstalled )
  192.     #ifnot ( switch95 )
  193.         DeselectOption( Label )
  194.     #endif
  195.  
  196.     switch95 = CallProcEx( IsActWPInstalled )
  197.     #ifnot ( switch95 )
  198.         DeselectOption( ActWP )
  199.     #endif
  200.  
  201.     switch95 = CallProcEx( IsAppFilterInstalled )
  202.     #ifnot ( switch95 )
  203.         DeselectOption( AppFilter )
  204.     #endif
  205.  
  206.     switch95 = CallProcEx( IsccMailInstalled )
  207.     #ifnot ( switch95 )
  208.         DeselectOption( ccMail )
  209.     #endif
  210.  
  211.     switch95 = CallProcEx( IsMSExchangeInstalled )
  212.     #ifnot ( switch95 )
  213.         DeselectOption( MSExchange )
  214.     #endif
  215.  
  216.     switch95 = CallProcEx( IsLotusMailInstalled )
  217.     #ifnot ( switch95 )
  218.         DeselectOption( LotusMail )
  219.     #endif
  220.  
  221.     switch95 = CallProcEx( IsCServeExeInstalled )
  222.     #ifnot ( switch95 )
  223.         DeselectOption( CServeExe )
  224.     #endif
  225.  
  226.     switch95 = CallProcEx( IsDictionaryInstalled )
  227.     #ifnot ( switch95 )
  228.         DeselectOption( Dictionary )
  229.     #endif
  230.  
  231.     switch95 = CallProcEx( IsSetupInstalled )
  232.     #ifnot ( switch95 )
  233.         DeselectOption( Setup )
  234.     #endif
  235.  
  236.     switch95 = CallProcEx( IsWPFilterInstalled )
  237.     #ifnot ( switch95 )
  238.         DeselectOption( WPFilter )
  239.     #endif
  240.  
  241.     switch95 = CallProcEx( IsWPWordInstalled )
  242.     #ifnot ( switch95 )
  243.         DeselectOption( WPWord )
  244.     #endif
  245.  
  246.     switch95 = CallProcEx( IsWPWordPerfectInstalled )
  247.     #ifnot ( switch95 )
  248.         DeselectOption( WPWordPerfect )
  249.     #endif
  250.  
  251.     switch95 = CallProcEx( IsWPWPMacroInstalled )
  252.     #ifnot ( switch95 )
  253.         DeselectOption( WPWPMacro )
  254.     #endif
  255.  
  256.     switch95 = CallProcEx( IsCalendarInstalled )
  257.     #ifnot ( switch95 )
  258.         DeselectOption( Calendar )
  259.     #endif
  260.  
  261.     switch95 = CallProcEx( IsActPTPInstalled )
  262.     #ifnot ( switch95 )
  263.         DeselectOption( ActPTP )
  264.     #endif
  265.  
  266.     switch95 = CallProcEx( IsTemplateInstalled )
  267.     #ifnot ( switch95 )
  268.         DeselectOption( Template )
  269.     #endif
  270.  
  271.     switch95 = CallProcEx( IsWPWPTemplateInstalled )
  272.     #ifnot ( switch95 )
  273.         DeselectOption( WPWPTemplate )
  274.     #endif
  275.  
  276.     ; Invert country version switches
  277.     NOT(switch1)    ; Australia/NZ/Asia
  278.     NOT(switch2)    ; Canada
  279.     NOT(switch3)    ; Europe
  280.     NOT(switch4)    ; Latin American
  281.     NOT(switch5)    ; United Kingdom
  282.     NOT(switch6)    ; United States
  283. #endif  ; End of the Upgrade Work section
  284.  
  285. #ifnot ( switch89 )
  286.     MessageBox( ACTLDRError )
  287.     ; Deselect all the "copymain" groups, thus skip upgrade
  288.     DeselectOption( AppSys )
  289.     DeselectOption( ActWPWord )
  290.     DeselectOption( ActFile )
  291.     DeselectOption( CServe )
  292.     DeselectOption( ActWPWP )
  293.     DeselectOption( ActWordProc )
  294.     DeselectOption( ccMail )
  295.     DeselectOption( LotusMail )
  296.     DeselectOption( MSExchange )
  297.     DeselectOption( Setup )
  298.     switch23 = FALSE        ; Skip all further upgrade processing
  299. #endif
  300.  
  301. ; ********** Summary Panel **********
  302. WizardPanel( InstallSummary, siw_ce.dll )
  303. WizardProcessPanel()
  304.  
  305. #if ( switch23 )
  306.     ; **** Pre copy actions
  307.     ; *** Is ADAL.DLL loaded? (Check it exists first)
  308.     switch11 = Exists( xstADAL_DLL )
  309.     #if ( switch11 )
  310.         switch11 = CallProcEx( IsADALLoaded )
  311.         #if ( switch11 )
  312.             MessageBox( msgADALLoaded )
  313.             goto( EndInstall )
  314.         #endif
  315.     #endif
  316. #endif
  317.  
  318. ; For ET1 systems, ensure the PEGLINK.FLT file is deleted
  319. #if ( switch21) ; Only check where ACT! 3.0 is installed.
  320.     switch26 = Exists( xstPEGLINK_FLT )
  321.     #if ( switch26 )        ; Delete if exists
  322.         Delete( xstPEGLINK_FLT )
  323.     #endif
  324. #endif
  325.  
  326. ; ********** Prepare for copying files **********
  327. CreateDirectory( crtACTCEDir )
  328.  
  329. ; Delete the HP and Newton filters (install order issue)
  330. #if ( switch23 )        ; If an upgrade is required.
  331.     Delete( delHP_Newton )
  332. #endif
  333.  
  334. ; ********** Copy the files **********
  335. DisableUtils()
  336. Copy()
  337.  
  338. ; Add stuff to the registry
  339. MergeRegFile( mergeInstallationInfo )
  340.  
  341. ; Create groups
  342. EnableWin95Shell()
  343. Groups()
  344.  
  345. #if ( switch23 )        ; More Upgrade stuff
  346.     ; Delete the ACT2-3.TXT file - non-ISO 9660 name.
  347.     #if ( switch80 )
  348.         Delete( delOldACT23File )
  349.     #endif
  350.  
  351.     ; Modify the program groups
  352.     #if ( switch80 )
  353.         CallProcEx( RemoveACTLDRItem )
  354.         CallProcEx( AddACTLDRItem )
  355.         CallProcEx( RemoveACT2_3Item )
  356.         CallProcEx( AddACT2_3Item )
  357.     #endif
  358.  
  359.     ; Delete redundant WP/Word integration files
  360.     Delete( delRedundantStuff )
  361.  
  362.     ; * Rename the letter templates
  363.     #ifnot ( switch1 )      ; Australia/NZ/Asia
  364.         Backup( bakUKLetter )
  365.     #endif
  366.     #ifnot ( switch2 )      ; Canada
  367.         Backup( bakUSLetter )
  368.     #endif
  369.     #ifnot ( switch3 )      ; Europe
  370.         Backup( bakEuLetter )
  371.     #endif
  372.     #ifnot ( switch4 )      ; Latin American
  373.         Backup( bakEuLetter )
  374.     #endif
  375.     #ifnot ( switch5 )      ; United Kingdom
  376.         Backup( bakUKLetter )
  377.     #endif
  378.     #ifnot ( switch6 )      ; United States
  379.         Backup( bakUSLetter )
  380.     #endif
  381. #endif
  382.  
  383. ; ********** Renaming files section *********
  384. Backup( bakCorrectNames )
  385. Delete( delShortNames )
  386.  
  387. ; Copy the files to the HPC
  388. CallProcEx( DownloadToHPC )
  389.  
  390. ; ********** Tech Support Panel **********
  391. ;WizardPanel( TechSupport, siw_ce.dll )
  392. ;WizardProcessPanel()
  393.  
  394. ; ********** How To Reach Us Panel **********
  395. ;WizardPanel( ReachUs, siw_ce.dll )
  396. ;WizardProcessPanel()
  397.  
  398. ; ********** Instructional panel on first link Panel **********
  399. WizardPanel( FirstLink, siw_ce.dll )
  400. WizardProcessPanel()
  401.  
  402. ; ********** Common Finish Panel **********
  403. switch98=FALSE
  404. switch97= IsFileInUse()
  405. switch96=TRUE
  406.  
  407. WizardPanel( CommonFinish, siw_ce.dll )
  408. WizardProcessPanel()
  409.  
  410. :ScriptWrapUp
  411.  
  412. :ScriptEnd
  413. EnableUtils()
  414. Delete( delCustomFiles )
  415.  
  416. #if ( switch98 )
  417.     ; If files-in-use need to reboot (NT)/restart (95)
  418.     #if ( switch40 )
  419.         ExitRestart()   ; Win95
  420.     #else
  421.         RebootNT()              ; WinNT
  422.     #endif
  423. #else
  424.     ; Otherwise exit normally
  425.     Exit()
  426. #endif
  427.  
  428. End()
  429.  
  430.  
  431. ; ********** ********** **********
  432. ; Wizard Panels
  433. ; ********** ********** **********
  434. [WelcomePanel]
  435. Caption = "ACT! for Windows CE Trial Size Setup"
  436. Title = "Welcome to ACT! for Windows CE"
  437. DlgProc = _WelcomeDlgProc@16
  438. ResourceId = 668
  439. Bitmap16 = 300
  440. PanelDataProc = _WelcomeDataProc@0
  441. PanelFlags = First
  442.  
  443. [LicensePanel]
  444. Caption = "Online License Agreement"
  445. DlgProc = _LicenseDlgProc@16
  446. ResourceId = 502
  447. PanelDataProc = _LicenseDataProc@0
  448.  
  449. [InstallSummary]
  450. Caption = "ACT! for Windows CE Trial Size Setup"
  451. DlgProc = _SIW_CEPanelProc@16
  452. ResourceId = 666
  453. Bitmap16 = 300
  454. PanelDataProc = _DefaultDataProc@0
  455.  
  456. [TechSupport]
  457. Caption = "ACT! for Windows CE Trial Size Setup"
  458. DlgProc = _TechSupDlgProc@16
  459. ResourceId = 507
  460. Bitmap16 = 300
  461. PanelFlags = First + NoCancel
  462.  
  463. [ReachUs]
  464. Caption = "ACT! for Windows CE Trial Size Setup"
  465. Title = "How to Reach Us"
  466. DlgProc = _ReachDlgProc@16
  467. ResourceId = 667
  468. Bitmap16 = 300
  469. PanelFlags = NoCancel
  470.  
  471. [FirstLink]
  472. Caption = "ACT! for Windows CE Trial Size Setup"
  473. Title = "Linking to your HPC"
  474. DlgProc = _SIW_CEPanelProc@16
  475. ResourceId = 670
  476. Bitmap16 = 300
  477. PanelDataProc = _DefaultDataProc@0
  478. PanelFlags = NoCancel
  479.  
  480. [CommonFinish]
  481. Caption = "ACT! for Windows CE Trial Size Setup"
  482. Title = "Installation Complete"
  483. DlgProc = _FinishDlgProc@16
  484. ResourceId = 563
  485. Bitmap16 = 300
  486. PanelDataProc = _FinishDataProc@0
  487. PanelFlags = Last + Finish
  488.  
  489. [FinishData]
  490. RebootSwitch = switch98
  491. RestartSwitch = switch97
  492. ContinueSwitch = switch96
  493. SuccessText = "ACT! for Windows CE Trial Size has been successfully installed to your system."
  494. AddlInfoText = "For the latest information on ACT! for Windows CE Trial Size, see the file README.TXT located in the program group."
  495. RebootOnlyText = "Your computer will now restart to complete the necessary changes."
  496. RebootOnlyNTText = "Please reboot your computer to complete the necessary changes."
  497. RestartOnlyText = "The install will now restart Windows to complete the necessary changes."
  498. ContinueOnlyText = "Installation is complete."
  499.  
  500. ; ********** ********** **********
  501. ; CallProc/Ex sections
  502. ; ********** ********** **********
  503. [CheckWin95]
  504. DLL = siw_ce.dll
  505. function = IsPlatformWin95
  506.  
  507. [CheckNT40]
  508. DLL = siw_ce.dll
  509. function = IsPlatformWinNT40
  510.  
  511. [IsACT30Running]
  512. DLL = siw_ce.dll
  513. function = IsAppRunning
  514. WindowClass=ACT3.0FrameClass
  515.  
  516. [CloseACT30]
  517. DLL = siw_ce.dll
  518. function = CloseApplication
  519. WindowClass=ACT3.0FrameClass
  520.  
  521. [IsHPCRunning]
  522. DLL = siw_ce.dll
  523. function = IsAppRunning
  524. WindowClass=PegMgrClass
  525.  
  526. [LocatePegasus]
  527. DLL = siw_ce.dll
  528. function = LocateHPCExplorer
  529. PathToUse = TARGET10
  530.  
  531. [LocateACT30]
  532. DLL = siw_ce.dll
  533. function = LocateACT30
  534. PathToUse = TARGET
  535.  
  536. [IsACTCEInstalled]
  537. DLL = siw_ce.dll
  538. function = LocateACTCE
  539. PathToUse = TARGET11
  540.  
  541. [DetermineACTVersion]
  542. DLL = siw_ce.dll
  543. function = VersionCompare
  544. Path = TARGET
  545. File = ACT.EXE
  546. VersionRequired = "3.0.6.242"
  547.  
  548. [DownloadToHPC]
  549. DLL = loadinst.dll
  550. function = ActLoadProc
  551.  
  552. [TestingOnly]
  553. DLL = siw_ce.dll
  554. function = TestingOnly
  555.  
  556. ; ********** ********** **********
  557. ; Backup and Delete sections
  558. ; ********** ********** **********
  559. [bakCustomFiles]
  560. siw_ce.dll,     siw_ce.dll,                             SOURCE,         WINDOWS
  561. loadinst.dll,   loadinst.dll,                   SOURCE,         WINDOWS
  562. patch32.dll,    patch32.dll,            SOURCE,         WINDOWS
  563. act_inst.reg,   act_inst.reg,           SOURCE,         WINDOWS
  564.  
  565. [bakCorrectNames]
  566. act.htc,        "ACT! Help.htc",        TARGET11,       TARGET11
  567. mct.exe,        "act.exe.mips",         TARGET11,       TARGET11
  568. sct.exe,        "act.exe.sh3",          TARGET11,       TARGET11
  569.  
  570. [delCustomFiles]
  571. siw_ce.dll,     WINDOWS
  572. loadinst.dll,   WINDOWS
  573. patch32.dll,    WINDOWS
  574. act_inst.reg,   WINDOWS
  575.  
  576. [delShortNames]
  577. act.htc,        TARGET11
  578. mct.exe,        TARGET11
  579. sct.exe,        TARGET11
  580.  
  581. [delRedundantStuff]
  582. drvwp6.inf,     TARGET          ; WP/Word integration file
  583. wpreg.dll,      TARGET          ; WP/Word integration file
  584.  
  585. [delHP_Newton]
  586. newton.flt,     TARGET
  587. hplink.flt,     TARGET
  588. hp_aus.flt,     TARGET
  589. hp_can.flt,     TARGET
  590. hp_eur.flt,     TARGET
  591. hp_lam.flt,     TARGET
  592. hp_uk.flt,      TARGET
  593.  
  594. [bakEuLetter]
  595. lttrela.adt,    letter.adt,             TARGET21,       TARGET21
  596. lttrela.awt,    letter.awt,             TARGET21,       TARGET21
  597. lttrela.tpl,    letter.tpl,             TARGET21,       TARGET21
  598.  
  599. [bakUKLetter]
  600. lttruka.adt,    letter.adt,             TARGET21,       TARGET21
  601. lttruka.awt,    letter.awt,             TARGET21,       TARGET21
  602. lttruka.tpl,    letter.tpl,             TARGET21,       TARGET21
  603.  
  604. [bakUSLetter]
  605. lttrusc.adt,    letter.adt,             TARGET21,       TARGET21
  606. lttrusc.awt,    letter.awt,             TARGET21,       TARGET21
  607. lttrusc.tpl,    letter.tpl,             TARGET21,       TARGET21
  608.  
  609. [xstSIW_CE_DLL]
  610. siw_ce.dll,             WINDOWS
  611.  
  612. [xstPATCH32_DLL]
  613. patch32.dll,    WINDOWS
  614.  
  615. [xstLOADINST_DLL]
  616. loadinst.dll,   WINDOWS
  617.  
  618. [xstPEGLINK_FLT]
  619. peglink.flt,    TARGET
  620.  
  621. [xstACT_EXE]
  622. act.exe,                TARGET
  623.  
  624. ; ********** ********** **********
  625. ; ResetTarget and CreateDirectory sections
  626. ; ********** ********** **********
  627. [rstACTCEDirectory]
  628. Reset = TARGET11
  629. Location = "%s\HPC Applications\ACT CE", TARGET10
  630.  
  631. [crtACTCEDir]
  632. "%s", TARGET11
  633.  
  634. ; ********** ********** **********
  635. ; Registry modification sections
  636. ; ********** ********** **********
  637. [mergeInstallationInfo]
  638. file = "%s\act_inst.reg",       WINDOWS
  639.  
  640. ; ********** ********** **********
  641. ; Message sections
  642. ; ********** ********** **********
  643.  
  644. [msgMissingDLL]
  645. Caption = "ACT! for Windows CE Trial Size Setup"
  646. "A required library was not successfully copied from the"
  647. "installation drive. Please attempt the installation again."
  648.  
  649. [msgWrongOS]
  650. Caption = "ACT! for Windows CE Trial Size Setup"
  651. "ACT! for Windows CE Trial Size may only be installed and run on Windows 95"
  652. "or later. You must install Windows 95 to proceed."
  653.  
  654. [msgACT30WillBeClosed]
  655. Caption = "ACT! for Windows CE Trial Size Setup"
  656. "The installation program has detected that ACT! 3.0"
  657. "is currently running on your system."
  658. " "
  659. "ACT! 3.0 will be shut down before continuing the installation."
  660.  
  661. [msgACT30Running]
  662. Caption = "ACT! for Windows CE Trial Size Setup"
  663. "The installation program has detected that ACT! 3.0"
  664. "is currently running on your system."
  665. " "
  666. "Exit ACT! 3.0 and run the installation program again."
  667.  
  668. [msgHPCRunning]
  669. Caption = "ACT! for Windows CE Trial Size Setup"
  670. "The installation program has detected that the HPC"
  671. "Explorer is currently running on your system."
  672. " "
  673. "Exit HPC Explorer and run the installation program again."
  674.  
  675. [msgNoDevice]
  676. Caption = "ACT! for Windows CE Trial Size Setup"
  677. "Unable to locate an installation of HPC Explorer on your system."
  678. " "
  679. "Please install HPC Explorer and run the installation program again."
  680.  
  681. [msgNoACT30]
  682. Caption = "ACT! for Windows CE Trial Size Setup"
  683. "ACT! 3.0 cannot be found on your system."
  684. "The ACT! filter for the CE device will not be installed."
  685. " "
  686. "If you install ACT! 3.0 you may run this installation"
  687. "program again to install the filter."
  688.  
  689. [ACTLDRError]
  690. Caption = "ACT! for Windows CE Trial Size Setup"
  691. "Could not unload 'ACT! Speed Loader', the required upgrade will be skipped at this time."
  692. " "
  693. "Please reinstall ACT! for Windows CE Trial Size later to perform the required upgrade."
  694. "(This will not overwrite any ACT! for Windows CE Trial Size data files)."
  695.  
  696. [msgADALLoaded]
  697. caption = "ACT! for Windows CE Trial Size Setup"
  698. "The installer has detected that another application,"
  699. "possibly WinFax, is using an ACT! 3.0 file."
  700. " "
  701. "Please close all other applications and re-run this installation."
  702.  
  703. ; ********** ********** **********
  704. ; Groups sections
  705. ; ********** ********** **********
  706. [Groups]
  707. "ACT! for Windows CE",     act30.grp
  708.  
  709. [ACT! for Windows CE]
  710. "ACT! for Windows CE Remote Install",  Act_load.exe,  ActCELoader, , TARGET11, , , , TARGET11
  711. "ReadMe",                              readme.txt,    ActCEApp,    , TARGET11
  712. "Uninstall ACT! for Windows CE",       setup.exe,     ActCESetup,  , TARGET11, , , "/U", TARGET11
  713.  
  714. ; ********** ********** **********
  715. ; Copy sections
  716. ; ********** ********** **********
  717.  
  718. [FileCopy]
  719. errorcaption = "ACT! for Windows CE Trial Size Setup Error"
  720. insertcaption = "ACT! for Windows CE Trial Size Setup"
  721.  
  722.  
  723. [Cancel]
  724. caption = "ACT! for Windows CE Trial Size Setup"
  725. text = "The installation is not complete."
  726. "Are you sure you want to exit?"
  727.  
  728.  
  729. ; ********** ACTCE copy sections **********
  730.  
  731. [ACTCE:CopyDialog]
  732. caption = "Installing ACT! for Windows CE Trial Size Files..."
  733. posx = -10
  734. posy = -10
  735.  
  736. [ACTCE]
  737. copymain.ActCEBase,     "Application core files - %ldK",                0,N,Y,Y         ;** ActCEBase
  738. copysub.ActCEApp,       "Main Application files - %ldK"                         ;* ActCEApp
  739. copysub.ActCESetup,     "Setup files - %ldK"                                    ;* ActCESetup
  740. copysub.ActCELoader,    "Remote Installer files - %ldK"                         ;* ActCELoader
  741. copysub.ActCEFilter,    "ACT! 3.0 filter for CE - %ldK"                         ;* ACTCEFilter
  742.  
  743. ;[Act32Patch]
  744. copymain.AppSys,        "Application/System files - %ldK",      0,N,Y,Y         ;** AppSys
  745. copysub.ActApp,         "Main Application files - %ldK"                         ;* ActApp
  746. copysub.AppFilter,      "ACT! Conversion filters - %ldK"                        ;* AppFilter
  747. copysub.ActPTP,         "PTP Transport files - %ldK"                            ;* ActPTP
  748.  
  749. copymain.ActWPWord,     "Word support files - %ldK",            0,N,Y,Y         ;** ActWPWord
  750. copysub.WPWord,         "Word support files - %ldK"                             ;* WPWord
  751. copysub.WPWordMacro,    "Word macros - %ldK"                                    ;* WPWordMacro
  752.  
  753. copymain.ActFile,       "ACT! Files - %ldK",                    0,N,Y,Y         ;*** ACTFiles
  754. copysub.Calendar,       "Calendars - %ldK"                                      ;** Calendar
  755. copysub.Template,       "Templates - %ldK"                                      ;** Template
  756. copysub.Report,         "Report templates - %ldK"                               ;** Report
  757. copysub.Label,          "Label templates - %ldK"                                ;** Label
  758.  
  759. copymain.CServe,        "CompuServe files - %ldK",              0,N,Y,Y         ;** CServe
  760. copysub.CServeExe,      "Main CompuServe files - %ldK"                          ;* CServeExe
  761.  
  762. copymain.ActWPWP,       "WordPerfect support files - %ldK",     0,N,Y,Y         ;** ActWPWP
  763. copysub.WPWordPerfect,  "WordPerfect support files - %ldK"                      ;* WPWordPerfect
  764. copysub.WPWPTemplate,   "WordPerfect templates - %ldK"                          ;* WPWPTemplate
  765. copysub.WPWPMacro,      "WordPerfect macros - %ldK"                             ;* WPWPMacro
  766.  
  767. copymain.ActWordProc,   "Word Processor files - %ldK",          0,N,Y,Y         ;** ActWordProc
  768. copysub.ActWP,          "ACT! Word Processor files - %ldK"                      ;* ActWP
  769. copysub.Dictionary,     "Dictionary files - %ldK"                               ;* Dictionary
  770. copysub.WPFilter,       "ACT! WP filters - %ldK"                                ;* WPFilter
  771.  
  772. copymain.ccMail,        "ccMail support files - %ldK",          0,N,Y,Y         ;** ccMail
  773. copymain.LotusMail,     "Lotus Notes Mail files - %ldK",        0,N,Y,Y         ;** LotusMail
  774. copymain.MSExchange,    "MS Exchange support files - %ldK",     0,N,Y,Y         ;** MSExchange
  775.  
  776. copymain.Setup,         "Install/Uninstall files - %ldK",       0,N,Y,Y         ;*** Setup
  777.  
  778. ; *** ACT! 3.0.x Upgrade sections ***
  779.  
  780. [GetCountryVersion]
  781. dll = patch32.dll
  782. function = GetACTCountryVersion
  783.  
  784. [EnsureRetail32]
  785. dll = patch32.dll
  786. function = CheckForTrialSize
  787.  
  788. [rstSpell]
  789. Reset = TARGET2
  790. Location = "%s\Spell", TARGET
  791.  
  792. [rstReport]
  793. Reset = TARGET4
  794. Location = "%s\Report", TARGET
  795.  
  796. [rstTemplate]
  797. Reset = TARGET21
  798. Location = "%s\Template", TARGET
  799.  
  800. [xstACTLDR]
  801. ACTLDR.EXE, TARGET
  802.  
  803. [xstADAL_DLL]
  804. adal.dll, TARGET
  805.  
  806. [delOldACT23File]
  807. act2-3.txt,     TARGET
  808.  
  809. [RemoveACTLDRItem]
  810. dll = patch32.dll
  811. function = DeleteProgramGroupItem
  812. Group = Startup
  813. ItemName = "ACT! Speed Loader"
  814.  
  815. [RemoveACT2_3Item]
  816. dll = patch32.dll
  817. function = DeleteProgramGroupItem
  818. Group = "ACT! 3.0 for Windows"
  819. ItemName = "Tips for ACT! 2.0  users"
  820.  
  821. [AddACTLDRItem]
  822. dll = patch32.dll
  823. function = AddProgramGroupItem
  824. Group = Startup
  825. ItemName = "ACT! Speed Loader"
  826. FileName = ACTLDR.EXE
  827. Location = TARGET
  828.  
  829. [AddACT2_3Item]
  830. dll = patch32.dll
  831. function = AddProgramGroupItem
  832. Group = "ACT! 3.0 for Windows"
  833. ItemName = "Tips for ACT! 2.0  users"
  834. FileName = ACT2_3.TXT
  835. Location = TARGET
  836.  
  837. [execACTLDRUnload]
  838. dll = patch32.dll
  839. function = WinExecFile
  840. path = TARGET
  841. exe = "ACTLDR.EXE"
  842. options = "/U"
  843.  
  844. [IsADALLoaded]
  845. dll = patch32.dll
  846. function = IsFileOpen
  847. filename = adal.dll
  848.  
  849. [IsActAppInstalled]
  850. dll = patch32.dll
  851. function = IsComponentInstalled
  852. Component = "ActApp"
  853.  
  854. [IsWPWordMacroInstalled]
  855. dll = patch32.dll
  856. function = IsComponentInstalled
  857. Component = "WPWordMacro"
  858.  
  859. [IsReportInstalled]
  860. dll = patch32.dll
  861. function = IsComponentInstalled
  862. Component = "Report"
  863.  
  864. [IsLabelInstalled]
  865. dll = patch32.dll
  866. function = IsComponentInstalled
  867. Component = "Label"
  868.  
  869. [IsActWPInstalled]
  870. dll = patch32.dll
  871. function = IsComponentInstalled
  872. Component = "ActWP"
  873.  
  874. [IsAppFilterInstalled]
  875. dll = patch32.dll
  876. function = IsComponentInstalled
  877. Component = "AppFilter"
  878.  
  879. [IsccMailInstalled]
  880. dll = patch32.dll
  881. function = IsComponentInstalled
  882. Component = "ccMail"
  883.  
  884. [IsMSExchangeInstalled]
  885. dll = patch32.dll
  886. function = IsComponentInstalled
  887. Component = "MSExchange"
  888.  
  889. [IsLotusMailInstalled]
  890. dll = patch32.dll
  891. function = IsComponentInstalled
  892. Component = "LotusMail"
  893.  
  894. [IsCServeExeInstalled]
  895. dll = patch32.dll
  896. function = IsComponentInstalled
  897. Component = "CServeExe"
  898.  
  899. [IsDictionaryInstalled]
  900. dll = patch32.dll
  901. function = IsComponentInstalled
  902. Component = "Dictionary"
  903.  
  904. [IsSetupInstalled]
  905. dll = patch32.dll
  906. function = IsComponentInstalled
  907. Component = "Setup"
  908.  
  909. [IsWPFilterInstalled]
  910. dll = patch32.dll
  911. function = IsComponentInstalled
  912. Component = "WPFilter"
  913.  
  914. [IsWPWordInstalled]
  915. dll = patch32.dll
  916. function = IsComponentInstalled
  917. Component = "WPWord"
  918.  
  919. [IsWPWordPerfectInstalled]
  920. dll = patch32.dll
  921. function = IsComponentInstalled
  922. Component = "WPWordPerfect"
  923.  
  924. [IsWPWPMacroInstalled]
  925. dll = patch32.dll
  926. function = IsComponentInstalled
  927. Component = "WPWPMacro"
  928.  
  929. [IsCalendarInstalled]
  930. dll = patch32.dll
  931. function = IsComponentInstalled
  932. Component = "Calendar"
  933.  
  934. [IsActPTPInstalled]
  935. dll = patch32.dll
  936. function = IsComponentInstalled
  937. Component = "ActPTP"
  938.